package com.nf.test1.OneController;


import com.nf.test1.OneService.FristServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController

public class FristControlle {
    @Autowired
    private FristServiceImpl service;

    @RequestMapping("/abc")
    public String getDD(){
       return service.getById();
    }
}
